package com.hns.can.master.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hns.can.common.entity.BaseEntity;
import com.hns.tool.pub.PubUtil;

/**
 * 惯性与客流数据信息实体
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_COMM_IETA_PASS_FLOW_INFO")
public class CommIetaPassFlowInfoEntity extends BaseEntity {
    
    @Id
    private String     rcrdId;
    @Column(name = "CORP_ID")
    private String     corpId;
    @Column(name = "ORGAN_ID")
    private String     organId;
    @Column(name = "LINE_ID")
    private String     lineId;
    @Column(name = "CAR_ID")
    private String     carId;
    @Column(name = "DRV_ID")
    private String     drvId;
    @Column(name = "RCRD_TIME")
    private String     rcrdTime;
    @Column(name = "RCRD_JRNL_NO")
    private String     rcrdJrnlNo;
    @Column(name = "EQMT_CODE")
    private String     eqmtCode;
    @Column(name = "LIC_PLT_NO")
    private String     licPltNo;
    @Column(name = "LINE_CODE")
    private String     lineCode;
    @Column(name = "TRPT_COUNT")
    private BigDecimal trptCount;
    @Column(name = "DIM_HDLT_COUNT")
    private BigDecimal dimHdltCount;
    @Column(name = "ABS_COUNT")
    private BigDecimal absCount;
    @Column(name = "UP_DN")
    private String     upDn;
    @Column(name = "PRVS_STN_NO")
    private String     prvsStnNo;
    @Column(name = "BTW_TW_ST_SPD_OF_MOT_VHI")
    private BigDecimal btwTwStSpdOfMotVhi;
    @Column(name = "RTTE_SPD")
    private BigDecimal rtteSpd;
    @Column(name = "OPRT_DURA")
    private BigDecimal oprtDura;
    @Column(name = "PASS_FLOW_NUM")
    private String     passFlowNum;
    
    @Column(name = "RNG_ENER_CONS")
    private BigDecimal rngEnerCons;
    
    @Column(name = "LO_LGT")
    private Double     loLgt;
    @Column(name = "LO_LTT")
    private Double     loLtt;
    @Column(name = "LO_DRC")
    private BigDecimal loDrc;
    @Column(name = "GEN_TIME")
    private Date  genTime;
    @Column(name = "RESERVED_FIELD_1")
    private BigDecimal reservedField1;
    @Column(name = "RESERVED_FIELD_2")
    private BigDecimal reservedField2;
    @Column(name = "RESERVED_FIELD_3")
    private BigDecimal reservedField3;
    @Column(name = "RESERVED_FIELD_4")
    private BigDecimal reservedField4;
    @Column(name = "RESERVED_FIELD_5")
    private String     reservedField5;
    @Column(name = "RESERVED_FIELD_6")
    private String     reservedField6;
    @Column(name = "RESERVED_FIELD_7")
    private String     reservedField7;
    @Column(name = "RESERVED_FIELD_8")
    private String     reservedField8;
    
    // -------------------------------
    public static final String TABLENAME = "T_COMM_IETA_PASS_FLOW_INFO";
    
    // -------------------------------------
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        
        CommIetaPassFlowInfoEntity other = (CommIetaPassFlowInfoEntity) obj;
        
        if ((PubUtil.isEmpty(this.corpId) && PubUtil.isNotEmpty(other.corpId)) || !this.corpId.equals(other.corpId)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.eqmtCode) && PubUtil.isNotEmpty(other.eqmtCode)) || !this.eqmtCode.equals(other.eqmtCode)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.rcrdTime) && PubUtil.isNotEmpty(other.rcrdTime)) || !this.rcrdTime.equals(other.rcrdTime)) {
            return false;
        }
        
        return true;
    }
    
    public String getRcrdId() {
        return this.rcrdId;
    }
    
    public void setRcrdId(String rcrdId) {
        this.rcrdId = rcrdId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getOrganId() {
        return this.organId;
    }
    
    public void setOrganId(String organId) {
        this.organId = organId;
    }
    
    public String getLineId() {
        return this.lineId;
    }
    
    public void setLineId(String lineId) {
        this.lineId = lineId;
    }
    
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    public String getDrvId() {
        return this.drvId;
    }
    
    public void setDrvId(String drvId) {
        this.drvId = drvId;
    }
    
    public String getRcrdTime() {
        return this.rcrdTime;
    }
    
    public void setRcrdTime(String rcrdTime) {
        this.rcrdTime = rcrdTime;
    }
    
    public String getRcrdJrnlNo() {
        return this.rcrdJrnlNo;
    }
    
    public void setRcrdJrnlNo(String rcrdJrnlNo) {
        this.rcrdJrnlNo = rcrdJrnlNo;
    }
    
    public String getEqmtCode() {
        return this.eqmtCode;
    }
    
    public void setEqmtCode(String eqmtCode) {
        this.eqmtCode = eqmtCode;
    }
    
    public String getLicPltNo() {
        return this.licPltNo;
    }
    
    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }
    
    public String getLineCode() {
        return this.lineCode;
    }
    
    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }
    
    public BigDecimal getTrptCount() {
        return this.trptCount;
    }
    
    public void setTrptCount(BigDecimal trptCount) {
        this.trptCount = trptCount;
    }
    
    public BigDecimal getDimHdltCount() {
        return this.dimHdltCount;
    }
    
    public void setDimHdltCount(BigDecimal dimHdltCount) {
        this.dimHdltCount = dimHdltCount;
    }
    
    public BigDecimal getAbsCount() {
        return this.absCount;
    }
    
    public void setAbsCount(BigDecimal absCount) {
        this.absCount = absCount;
    }
    
    public String getUpDn() {
        return this.upDn;
    }
    
    public void setUpDn(String upDn) {
        this.upDn = upDn;
    }
    
    public String getPrvsStnNo() {
        return this.prvsStnNo;
    }
    
    public void setPrvsStnNo(String prvsStnNo) {
        this.prvsStnNo = prvsStnNo;
    }
    
    public BigDecimal getBtwTwStSpdOfMotVhi() {
        return this.btwTwStSpdOfMotVhi;
    }
    
    public void setBtwTwStSpdOfMotVhi(BigDecimal btwTwStSpdOfMotVhi) {
        this.btwTwStSpdOfMotVhi = btwTwStSpdOfMotVhi;
    }
    
    public BigDecimal getRtteSpd() {
        return this.rtteSpd;
    }
    
    public void setRtteSpd(BigDecimal rtteSpd) {
        this.rtteSpd = rtteSpd;
    }
    
    public BigDecimal getOprtDura() {
        return this.oprtDura;
    }
    
    public void setOprtDura(BigDecimal oprtDura) {
        this.oprtDura = oprtDura;
    }
    
    public String getPassFlowNum() {
        return this.passFlowNum;
    }
    
    public void setPassFlowNum(String passFlowNum) {
        this.passFlowNum = passFlowNum;
    }
    
    public Double getLoLgt() {
        return this.loLgt;
    }
    
    public void setLoLgt(Double loLgt) {
        this.loLgt = loLgt;
    }
    
    public Double getLoLtt() {
        return this.loLtt;
    }
    
    public void setLoLtt(Double loLtt) {
        this.loLtt = loLtt;
    }
    
    public BigDecimal getLoDrc() {
        return this.loDrc;
    }
    
    public void setLoDrc(BigDecimal loDrc) {
        this.loDrc = loDrc;
    }
    
    public Date getGenTime() {
        return this.genTime;
    }
    
    public void setGenTime(Date genTime) {
        this.genTime = genTime;
    }
    
    public BigDecimal getReservedField1() {
        return this.reservedField1;
    }
    
    public void setReservedField1(BigDecimal reservedField1) {
        this.reservedField1 = reservedField1;
    }
    
    public BigDecimal getReservedField2() {
        return this.reservedField2;
    }
    
    public void setReservedField2(BigDecimal reservedField2) {
        this.reservedField2 = reservedField2;
    }
    
    public BigDecimal getReservedField3() {
        return this.reservedField3;
    }
    
    public void setReservedField3(BigDecimal reservedField3) {
        this.reservedField3 = reservedField3;
    }
    
    public BigDecimal getReservedField4() {
        return this.reservedField4;
    }
    
    public void setReservedField4(BigDecimal reservedField4) {
        this.reservedField4 = reservedField4;
    }
    
    public String getReservedField5() {
        return this.reservedField5;
    }
    
    public void setReservedField5(String reservedField5) {
        this.reservedField5 = reservedField5;
    }
    
    public String getReservedField6() {
        return this.reservedField6;
    }
    
    public void setReservedField6(String reservedField6) {
        this.reservedField6 = reservedField6;
    }
    
    public String getReservedField7() {
        return this.reservedField7;
    }
    
    public void setReservedField7(String reservedField7) {
        this.reservedField7 = reservedField7;
    }
    
    public String getReservedField8() {
        return this.reservedField8;
    }
    
    public void setReservedField8(String reservedField8) {
        this.reservedField8 = reservedField8;
    }

    public BigDecimal getRngEnerCons() {
        return rngEnerCons;
    }

    public void setRngEnerCons(BigDecimal rngEnerCons) {
        this.rngEnerCons = rngEnerCons;
    }
    
}
